import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/get_device_online_status_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/get_device_online_status_entity.g.dart';

@JsonSerializable()
class GetDeviceOnlineStatusEntity {
	late int companyId;
	late String companyName;
	late String safeOnlineQuantity;
	late String safeOfflineQuantity;
	late String environmentalOnlineQuantity;
	late String environmentalOfflineQuantity;

	GetDeviceOnlineStatusEntity();

	factory GetDeviceOnlineStatusEntity.fromJson(Map<String, dynamic> json) => $GetDeviceOnlineStatusEntityFromJson(json);

	Map<String, dynamic> toJson() => $GetDeviceOnlineStatusEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}